import { App } from "vue";
export {
  textDefaultProps,
  textStylePropNames,
  TextComponentProps,
  imageDefaultProps,
  imageStylePropsNames,
  ImageComponentProps,
  shapeDefaultProps,
  shapeStylePropsNames,
  ShapeComponentProps,
  AllComponentProps,
  ComponentData,
  PageData,
} from "./defaultProps";

import LibText from "./components/LibText";
import LibImage from "./components/LibImage";
import LibShape from "./components/LibShape";
import FinalPage from "./components/FinalPage";

const components = [LibText, LibImage, LibShape, FinalPage];

const install = (app: App) => {
  components.forEach((component) => {
    app.component(component.name, component);
  });
};

export { LibText, LibImage, LibShape, FinalPage, install };
export default {
  install,
};
